package com.guonl.config.yaml;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Data
@Component
@ConfigurationProperties(prefix = "mysql-query-columns")
@PropertySource(value = "classpath:table-column/mysql_query_columns.yaml", factory = YamlPropertySourceFactory.class)
public class MysqlQueryColumnsProperties {

    private Map<String, List<String>> queryTablesColumnsMap;


}
